import { axios } from "../../../utils/request";

const api = {
    pageAgentStatisticsBySystem: "/crm/callAgentStatistics/pageAgentStatisticsBySystem",   
    getByCompanyId: "/crm/callAgentStatistics/getByCompanyId",
    getCrmCallAgentStatistics: "/crm/callAgentStatistics/getCrmCallAgentStatistics",
    
    
};
/**
 * 列表
 */
export function pageAgentStatisticsBySystem(data) {
    return axios({
      url: api.pageAgentStatisticsBySystem,
      method: "post",
      data: data
    });
}
/**
 * 通过租户ID查询统计
 */
export function getByCompanyId(data) {
  return axios({
    url: api.getByCompanyId,
    method: "get",
    params: data
  });
}
/**
 * 获取当前租户的坐席统计数据
 */
 export function getCrmCallAgentStatistics(data) {
    return axios({
      url: api.getCrmCallAgentStatistics,
      method: "get",
      params: data
    });
  }



